package aboutme.felipesilvestre.oracaolista;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class MenuPrincipalActivity extends Activity {
	
	@Override
	public void onCreate(Bundle instace){
		super.onCreate(instace);
		setContentView(R.layout.menuprincipal);
		
		ImageButton btOracoes = (ImageButton) findViewById(R.id.imgBtOracoes);
		btOracoes.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				startActivity(new Intent(getBaseContext(),ListaOracaoActivity.class));
				
			}
		});
		
		ImageButton btConfig = (ImageButton) findViewById(R.id.imgBtConfig);
		btConfig.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				startActivity(new Intent(getBaseContext(),ConfiguracaoActivity.class));
				
			}
		});
		
		
	}
	
	

}
